Skip to content

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Nov 16, 2025

This works for dynamic props but not for non-dynamic props due to the missing INDIRECT handling.

As a side note: We need to get this working anyway if we ever want to move from arrays to typed objects for filter parameters and filters APIs.

… parameters

This works for dynamic props but not for non-dynamic props due to the
missing INDIRECT handling.
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit, but LGTM


if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) {
if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "blocks", sizeof("blocks")-1))) {
HashTable *ht = HASH_OF(filterparams);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HASH_OF my nemesis :(


?>
--EXPECT--
Hallo wereld hopelijk niet kapot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep it in English please, although this is funny (at least to me)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:( moh seg hé

@ndossche ndossche closed this in 93ce050 Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants